/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package desu.nya.DAO;

import desu.nya.Anime;
import desu.nya.Genre;
import desu.nya.GenreList;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Fess
 */
public interface GenreListDAO {
    public void addGenreList(GenreList genreList) throws SQLException;// not support yet
    public void addGenreListFromList(List<Genre> genreList) throws SQLException;
    public GenreList getGenreByID(Long id) throws SQLException;
    public void updateGenre(Long genreList_id,GenreList genreList) throws SQLException;
    public List<String> getAllGenreByAnime(Long animeId) throws SQLException;
    public void deleteGenre(GenreList genreList) throws SQLException;
    public void appendGenreListToAnime(Anime anime, List<Long> genres) throws SQLException;
}
